﻿using System;

class ForestRoad
{
    static void Main()
    {
        int forestWidth = int.Parse(Console.ReadLine());
        int forestHeight = 2 * forestWidth - 1;
        int subtract = -2;
        for (int row = 1; row <= forestHeight; row++)
        {
            for (int col = 1; col <= forestWidth; col++)
            {
                if (row <= forestWidth)
                {
                    if (col == row)
                    {
                        Console.Write('*');
                    }
                    else
                    {
                        Console.Write('.');
                    }
                }
                else
                {
                    if (col == row + subtract)
                    {
                        Console.Write('*');
                    }
                    else
                    {
                        Console.Write('.');
                    }
                }
            }
            if (row > forestWidth)
            {
                subtract -= 2;
            }
            Console.WriteLine();
        }
    }
}
